import request from '@/utils/request'

export function listsafeAccidentDrill(query) {
  return request({
    url: '/system/safeAccidentDrill/list',
    method: 'get',
    params: query
  })
}
export function delsafeAccidentDrill(safeAccidentDrillIds) {
  return request({
    url: '/system/safeAccidentDrill/' + safeAccidentDrillIds,
    method: 'delete'
  })
}
export function safeAccidentDrillAdd(data) {
  return request({
    url: '/system/safeAccidentDrill',
    method: 'post',
    data: data
  })
}
export function safeAccidentDrillManager(data) {
  return request({
    url: '/system/safeAccidentDrill',
    method: 'put',
    data: data
  })
}
export function safeAccidentDrillInfo(query) {
  return request({
    url: '/system/safeAccidentDrill/' + query,
    method: 'get',
    params: query
  })
}
